/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.qdu.entity;

/**
 *
 * @author Lenovo
 */
public class Book {

    private String bId;
    private String bName;
    private String bpublisher; //出版社
    private String byear;
    private String bCover;
    private String bpageNum;
    private String bDigest;
    private String blanguage;
    private String bTranslator; //译者
    private float brating;
  public Book(String bId, String bName, String bpublisher, String byear, String bpageNum, String bDigest, String blanguage, String bTranslator) {
        this.bId = bId;
        this.bName = bName;
        this.bpublisher = bpublisher;
        this.byear = byear;
        this.bpageNum = bpageNum;
        this.bDigest = bDigest;
        this.blanguage = blanguage;
        this.bTranslator = bTranslator;
    }
    public Book() {
    }

    public Book(String bName, float brating) {
        this.bName = bName;
        this.brating = brating;
    }

//刘萌
    public Book(String bId, String bName, String byear, String bpublisher, float brating) {
        this.bId = bId;
        this.bName = bName;
        this.byear = byear;
        this.bpublisher = bpublisher;
        this.brating = brating;
    }
//刘萌

    public Book(String bId, String bName, String bCover, float brating) {
        this.bId = bId;
        this.bName = bName;
        this.bCover = bCover;
        this.brating = brating;
    }
    

//    public Book(String bCover, String bName, String bpublisher) {
//        this.bCover = bCover;
//        this.bName = bName;
//        this.bpublisher = bpublisher;
//
//    }

    public Book(String bId, String bCover, String bName, String bpublisher) {
        this.bId = bId;
        this.bCover = bCover;
        this.bName = bName;
        this.bpublisher = bpublisher;
    }

    public Book(String bId, String bName, String bpublisher, String byear, String bCover, String bpageNum, String bDigest, String blanguage, String bTranslator, float brating) {
        this.bId = bId;
        this.bName = bName;
        this.bpublisher = bpublisher;
        this.byear = byear;
        this.bCover = bCover;
        this.bpageNum = bpageNum;
        this.bDigest = bDigest;
        this.blanguage = blanguage;
        this.bTranslator = bTranslator;
        this.brating = brating;
    }

    public Book(String bId, String bName, float brating) {
        this.bId = bId;
        this.bName = bName;
        this.brating = brating;
    }

    public Book(String bId, String bName, float brating, String bCover) {
        this.bId = bId;
        this.bName = bName;
        this.brating = brating;
        this.bCover = bCover;

    }

    public Book(String bId, String bName, float brating, String bDigest, String bCover) {
        this.bId = bId;
        this.bName = bName;
        this.brating = brating;
        this.bDigest = bDigest;
        this.bCover = bCover;

    }
    
//    public String getbId() {
//        return bId;
//    }
//
//    public void setbId(String bId) {
//        this.bId = bId;
//    }
//
//    public String getbName() {
//        return bName;
//    }
//
//    public void setbName(String bName) {
//        this.bName = bName;
//    }
//
//    public String getBpublisher() {
//        return bpublisher;
//    }
//
//    public void setBpublisher(String bpublisher) {
//        this.bpublisher = bpublisher;
//    }
//
//    public String getByear() {
//        return byear;
//    }
//
//    public void setByear(String byear) {
//        this.byear = byear;
//    }
//
//    public String getbCover() {
//        return bCover;
//    }
//
//    public void setbCover(String bCover) {
//        this.bCover = bCover;
//    }
//
//    public String getBpageNum() {
//        return bpageNum;
//    }
//
//    public void setBpageNum(String bpageNum) {
//        this.bpageNum = bpageNum;
//    }
//
//    public String getbDigest() {
//        return bDigest;
//    }
//
//    public void setbDigest(String bDigest) {
//        this.bDigest = bDigest;
//    }
//
//    public String getBlanguage() {
//        return blanguage;
//    }
//
//    public void setBlanguage(String blanguage) {
//        this.blanguage = blanguage;
//    }
//
//    public String getbTranslator() {
//        return bTranslator;
//    }
//
//    public void setbTranslator(String bTranslator) {
//        this.bTranslator = bTranslator;
//    }
//
//    public float getBrating() {
//        return brating;
//    }
//
//    public void setBrating(float brating) {
//        this.brating = brating;
//    }

    public String getbId() {
        return bId;
    }

    public void setbId(String bId) {
        this.bId = bId;
    }

    public String getbName() {
        return bName;
    }

    public void setbName(String bName) {
        this.bName = bName;
    }

    public String getBpublisher() {
        return bpublisher;
    }

    public void setBpublisher(String bpublisher) {
        this.bpublisher = bpublisher;
    }

    public String getByear() {
        return byear;
    }

    public void setByear(String byear) {
        this.byear = byear;
    }

    public String getbCover() {
        return bCover;
    }

    public void setbCover(String bCover) {
        this.bCover = bCover;
    }

    public String getBpageNum() {
        return bpageNum;
    }

    public void setBpageNum(String bpageNum) {
        this.bpageNum = bpageNum;
    }

    public String getbDigest() {
        return bDigest;
    }

    public void setbDigest(String bDigest) {
        this.bDigest = bDigest;
    }

    public String getBlanguage() {
        return blanguage;
    }

    public void setBlanguage(String blanguage) {
        this.blanguage = blanguage;
    }

    public String getbTranslator() {
        return bTranslator;
    }

    public void setbTranslator(String bTranslator) {
        this.bTranslator = bTranslator;
    }

    public float getBrating() {
        return brating;
    }

    public void setBrating(float brating) {
        this.brating = brating;
    }

}
